package git.soulbgm.pojo;

import java.io.Serializable;

/**
 * 用于LoginService和Realm直接数据交互解耦操作
 *
 * @author SoulBGM
 * @version 1.0
 * @date 2019/10/31 16:15
 */
public class UserDto {

    /**
     * 用户ID
     */
    private Serializable id;

    /**
     * 用户名
     */
    private String username;

    /**
     * 密码
     */
    private String password;

    /**
     * 盐值
     */
    private String salt;

    /**
     * 用户状态
     */
    private Integer state;

    public Serializable getId() {
        return id;
    }

    public void setId(Serializable id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getSalt() {
        return salt;
    }

    public void setSalt(String salt) {
        this.salt = salt;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }
}
